package com.mdc.mansion.core.modules.restaurant;

import com.mdc.mansion.core.modules.basedata.dto.RestaurantPrinterDTO;
import com.mdc.mansion.core.modules.restaurant.dto.RestaurantDTO;
import com.mdc.mansion.dataaccess.common.service.BaseService;
import com.mdc.mansion.dataaccess.modules.restaurant.entity.Restaurant;
import com.mdc.mansion.dataaccess.modules.restaurant.entity.RestaurantExt;

import java.util.List;

/**
 * 餐厅扩展信息Service
 * @author mingdongc
 * @version 2018-01-01
 */
public interface RestaurantExtService extends  BaseService<RestaurantExt> {

    List<RestaurantExt> findImgList(String restaurantId);

    void saveImgExt(Restaurant restaurant, RestaurantDTO restaurantDTO);

    void resaveImgExt(Restaurant restaurant, RestaurantDTO restaurantDTO);

    void saveRestaurantPrinter(RestaurantPrinterDTO restaurantPrinterDTO);

    void deleteRestaurantPrinter(RestaurantPrinterDTO restaurantPrinterDTO);

    List<RestaurantPrinterDTO> getCurrentUserRestaurantPrinters();
    
    void saveDishUnit(Restaurant restaurant);
}

